package com.demonzym.data.infos;

import android.os.Environment;

public class Util {

	public static String[] cutFirstArray(String[] data){
		if(data == null)
			return null;
		if(data.length == 1)
			return data;
		String[] result = new String[data.length - 1];
		for(int i = 0; i < data.length - 1; i++){
			result[i] = data[i + 1];
		}
		return result;
	}
	
	public static boolean hasSD() {
		return Environment.getExternalStorageState().equals(
				Environment.MEDIA_MOUNTED);
	}
}
